package cn.iocoder.yudao.module.reading.dal.dataobject.follow;

import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

/**
 * 用户关注 DO
 *
 * @author 芋道源码
 */
@TableName("user_follows")
@KeySequence("user_follows_seq")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserFollowDO extends BaseDO {

    /**
     * 关注ID
     */
    @TableId
    private Long id;
    /**
     * 关注者用户ID
     */
    private Long followerId;
    /**
     * 被关注者用户ID
     */
    private Long followeeId;
    /**
     * 关注状态：active-正常关注，blocked-已屏蔽
     */
    private String status;

}
